<?php

class Personal_Model_MFriend
{
   private $_uid;
   private $_conn;
   private $_collection;
   private $_db;
   private $_friendlstId;
   public   $_user; // a friend = a _user

   public function  __construct($uid) {
        $this;
    }

   private function getFriendLstId(){
    /*
     * get List Id Friend of this user from db user_friend
     */
   }

   public function getFriendLstInfoAll(){

   }
   public function getFriendLstInfoSearch(char $letter){
      /*
       * get info of all friend of user, based friendlstId
       */
   }
   public function getFriendInfo($fid){
     /*
     * get info of each friend as a user
     */
   }
   public function addFriend($uid){
       /*
        * add a user to make friend
        */
   }
}

